
errors = {
	'missing_parameter':  '{error: "Missing parameter(s) (%s)",errcode:1000}',
	'client_connection':  '{error: "Could not connect to client.",errcode:1001}',
	'client_command':	  '{error: "Client command: %s failed.",errcode:1002}',
	'unauthorized':	      '{error: "Unauthorized.",errcode:1003}',
	'unauthenticated':	  '{error: "Unauthenticated.",errcode:1004}',
    'invalid_torrent':    '{error: "Invalid torrent.",errcode:1005}',
    'invalid_parameters': '{error: "Invalid parameters: %s", errcode:1006}',
    'command_failed':     '{error: "Command failed: %s", errorcode:1007}',
    'torrent_exists':     '{error: "Active torrent already exists.", errcode:1008}',
}

success = {
	'client_command':	 '{success: "Client command: %s suceeded."}'
}